package com.yejiali.backend.service;

import com.yejiali.backend.response.Response;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author:yejiali
 * @Date:2025/7/21-07-21-17:21
 * @Decsription:com.yejiali.backend.service
 * @Version:1.0
 */
public interface OssService {
    /**
     * 上传视频
     * @param file
     * @param userId
     * @return
     */
    Response<String> saveVideo(MultipartFile file, Long userId);

    /**
     * 上传视频封面图
     * @param file
     * @param userId
     * @return
     */
    Response<String> savePicture(MultipartFile file, Long userId);
}

